37. Testing

Testing

Testing in Keras

In order to test in Keras, all we need to do is to split our set into a training and testing sets. Since we have 400 data points, using 50 for training makes sense:

 (X_train, X_test) = X[50:], X[:50]
 (y_train, y_test) = y[50:], y[:50]